package jzqb.dao;


import jzqb.po.AdminDepartmentPo;
import jzqb.po.AdminUserPo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;


public interface AdminCheckPermissionsDao {

//    Boolean checkPermissions(HttpServletRequest request, String[] permissionTypeList);

    Boolean inPermissionGroup(HttpServletRequest request,String[] permissionGroupList);

    Boolean inPermissionGroup_Total(HttpServletRequest request,String[] permissionGroupList);

    /**
     * 查询用户领导的部门集合
     * @param userId
     * @return
     */
    List<AdminDepartmentPo> findLeadDeptLis(String userId);


    boolean showSelfBaseButton(String userid);
}
